package com.xingkeduo.model.vo;

import com.xingkeduo.model.po.TStaffStock;
import com.xingkeduo.util.TimeUtil;

/**
 * @Description TODO
 * @Date 2019/5/15 17:36
 * @Created 情绪十分不稳定的Shadow
 */
public class StockForOrderVo {

    private Long stockId;
    private String startTime;
    private String endTime;

    public StockForOrderVo(TStaffStock staffStock) {
        this.stockId = staffStock.getId();
        this.startTime = TimeUtil.DateToFormat(staffStock.getStartTime(), "HH:mm:ss");
        this.endTime = TimeUtil.DateToFormat(staffStock.getEndTime(), "HH:mm:ss");
    }

    public Long getStockId() {
        return stockId;
    }

    public void setStockId(Long stockId) {
        this.stockId = stockId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
